package com.mr.orderclient.from;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * Class: OrderForm
 * User (作者):MRui
 * TODO (描述)：
 * Date 2018.09.22 14:29
 */
@Data
public class OrderForm {

    /*买家名字*/
    @NotEmpty(message = "姓名必填")
    private String name;
    /*买家电话*/
    @NotEmpty(message = "手机号必填")
    private String phone;
    /*买家地址*/
    @NotEmpty(message = "地址必填")
    private String address;
    /*买家微信openid*/
    @NotEmpty(message = "openid必填")
    private String openid;
    /*购物车*/
    @NotEmpty(message = "购物车为空")
    private String items;
}
